package com.example.demo.dao;

import com.example.demo.po.TBizAuction;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface TBizAuctionDAO {

    TBizAuction findById(Integer id);

    TBizAuction findByaid(String auctionid);

    List<TBizAuction> findByParams(TBizAuction auction);

    int save(TBizAuction auction);

    int update(TBizAuction auction);

    int del(String auctionid);

    int uodaterByAid(TBizAuction auction);

    List<TBizAuction> findBytime(TBizAuction auction);

    List<TBizAuction> appaucList(TBizAuction auction);

}
